package com.zz;

import lombok.extern.slf4j.Slf4j;
import org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication(exclude = {ShiroAnnotationProcessorAutoConfiguration.class})
@ServletComponentScan
@EnableTransactionManagement//开启事务注解的支持(springboot默认开启这个注解)
@EnableCaching//开启Spring Cache注解方式是缓存功能
public class ClubApplication {

    public static void main(String[] args) {

        SpringApplication.run(ClubApplication.class, args);
        log.info("项目启动成功...");
    }

}
